package com.bird.generate.ddd.domain.port

import com.bird.generate.ddd.domain.AggregateRootEntity
/**
 * 生成器仓储
 */
interface GenerateRepository {
    /**
     * 查询聚合根实体
     */
    fun aggregateRootById(enName: Long): AggregateRootEntity?
    /**
     * 保存聚合根实体
     */
    fun saveAggregateRoot(aggregateRootEntity: AggregateRootEntity)
}